package com.financing.wap.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IActivitiesMollionsWealthDao;
import com.financing.wap.dto.ActivitesMollionsWealthDTO;



@Repository("activitiesMollionsWealthDao")
public class ActivitiesMollionsWealthDaoImpl extends BaseDaoImpl<ActivitesMollionsWealthDTO, java.lang.Integer> implements IActivitiesMollionsWealthDao {

	@Override
	public Class<ActivitesMollionsWealthDTO> getEntityClass() {
		return ActivitesMollionsWealthDTO.class;
	}

	@Override
	public List<ActivitesMollionsWealthDTO> queryActivitiesMollionsWealthList(
			ActivitesMollionsWealthDTO dto) throws Exception {
		return this.sqlMapClientTemplate.queryForList(SqlName.QUERY_ACTIVITIES_MOLLIONS_WEALTH, dto);
	}

	@Override
	public ActivitesMollionsWealthDTO queryActivitiesMollionsWealth(
			ActivitesMollionsWealthDTO dto) throws Exception {
		return (ActivitesMollionsWealthDTO) this.sqlMapClientTemplate.queryForObject(SqlName.QUERY_ACTIVITIES_MOLLIONS_WEALTH, dto);
	}

}
